package com.imti.mall.sale.service;

import com.imti.mall.model.sms.pojo.SmsFlashPromotion;
import com.imti.mall.model.sms.pojo.SmsHomeBrand;
import com.imti.mall.sale.dao.SmsHomeBrandDao;
import com.imti.mall.sale.mapper.SmsHomeBrandMapper;
import org.apache.ibatis.annotations.UpdateProvider;

import java.util.List;

public interface SmsHomeBrandService {

    /**
     * 查询品牌推荐列表
     */

    public List<SmsHomeBrand> findBrand (SmsHomeBrand smsHomeBrand,Integer pageSize,Integer pageNum);


    /**
     * 修改品牌推荐
     * @param smsHomeBrand
     * @return
     */
    public Integer updateSmsHomeBrand(SmsHomeBrand smsHomeBrand);

    /**
     * 根据id删除品牌推荐
     * @param id
     * @return
     */
    public Integer delSmsHomeBrand(Integer id);

    /**
     * 添加品牌推荐
     * @param smsHomeBrand
     * @return
     */
    public boolean addSmsHomeBrand(List<SmsHomeBrand> smsHomeBrand);
}
